<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  
	<link rel="stylesheet" type="text/css" href="wzp/css/eventaccept.css">
	<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
	<script type="text/javascript" src="wzp/js/detail.js"></script> 
	<script type="text/javascript" src="wzp/js/da_add.js"></script> 
	<style type="text/css">
		#das td{ height:26; background-color:#FFF; text-align:left;}
		#DAAreaUtil{ background-image:url("tab/images/tab_14.gif");}
		.button{border:none;height:26; background:url("wzp/images/blue.png");}
		.clickbutton{height:26; background-image:url("images/tab_item.jpg");}
	</style> 
	</head>
	
	<body>
	
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="wzp/images/tab_03.gif" width="15" height="30" /></td>
        <td width="100%" background="wzp/images/tab_05.gif">
        	<img src="wzp/images/311.gif" width="16" height="16" /> 
        	事件详情</td>
        <td width="14"><img src="wzp/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0"  cellspacing="0" >
      <tr>
        <td width="9" background="wzp/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd">
          <table  width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#84b1d3" >
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">事件编号：</span><span id="eid">${event.EId }</span>
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">事件状态：</span>${event.tbEventStatus.tbesEventStatus}
            </td>
            <td class="tdtab" width="33%">
            </td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">报送方式：</span>${event.tbEventSource.esEventSource }
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">联系方式：</span>${event.ESubmiterContact}
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">报送时间：</span><s:date name="event.ESubmitTime" format="yyyy-MM-dd HH:mm:ss" />
            </td>
          </tr>
           <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">报送人：</span><span >${event.ESubmiter}</span>
            </td>
            <td class="tdtab" width="34%"><span class="tdspan">报送部门：</span>${event.ESubmitDept}
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">接报人：</span><span >${event.tbUserByUId.UName}</span>
			</td>
          </tr>
          <tr class="trtab">
          	 
            <td class="tdtab" width="33%"><span class="tdspan">事发地点：</span>${event.EEventAddr}
			</td>
            <td class="dou tdtab" width="34%"><span class="tdspan">经度：</span><span >${event.ELongitude}</span>
            </td>
            <td class="sample5 tdtab" width="33%"><span class="tdspan">纬度：</span><span style="padding-left:32;">${event.ELatitude}</span>
            </td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">事发时间：</span><s:date name="event.EEventtime" format="yyyy-MM-dd HH:mm:ss" />
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">事件名称：</span>${event.EEventname}
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">事件类型：</span>${event.tbEventType.etEventType}
            </td>
          </tr>
          <tr class="trtab">
            <td class="num tdtab" width="33%"><span class="tdspan">死亡人数：</span>${event.EDeaths}
			</td>
            <td class="num tdtab" width="34%"><span class="tdspan">受伤人数：</span>${event.EInjuries}
            </td>
            <td class="num tdtab" width="33%"><span class="tdspan">受困人数：</span>${event.ETrapped}
            </td>
          </tr>
          <tr class="trtab">
            <td class="num tdtab" width="33%"><span class="tdspan">失踪人数：</span>${event.EMissing}
			</td>
            <td class="dou tdtab" width="34%"><span class="tdspan">经济损失：</span>${event.EEconomicLoss}万元
				
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">事件等级：</span>${event.tbEventLevel.elEventLevel}  
            </td>
          </tr>
          <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
				<span style="float: left; padding-top:20; width:104;text-align:right" >事件原因：</span>
		  		<span class="textAeraRight">
					${event.EEventCause}
				</span>
			</td>
		  </tr>
		  <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
				<span style="float: left; padding-top:20; width:104;text-align:right" >事件描述：</span>
		  		<span class="textAeraRight">
					${event.EEventDesc}
				</span>
			</td>
		  </tr>
		   <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
				<span style="float: left; padding-top:20;width:104;text-align:right">已采取措施：</span>
		  		<span class="textAeraRight">
					${event.ETakeMeasure}
				</span>
			</td>
		  </tr>
		  <tr id="DAArea" style="display:none" ><td colspan="3">
		  	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
			   
			  <tr>
    			<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
				  <tr>
	       			<td bgcolor="#dceffd">
	          			<table id="das" width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3" >
	          				<tr><td id="DAAreaHead">
						    </td></tr>
           					<tr><td id="DAAreaUtil" >
					        </td></tr>
					        <tr><td id="DAAreaBody" > 
	          				</td></tr>	
	        		</table></td>
	     		  </tr>
    		  	 </table></td>
 			  </tr>
		  	</table>
		  </td></tr>
		  <tr id="addDA" class="trtab">
		  	<td class="tdtab" colspan="3"> 
		  		<button id="send">添加处置建议</button>
			</td>
		  </tr>
		  <!--  
		  <tr id="addDAdviceArea" class="trtab" style="display:none">
		  	<td class="tdtab2" colspan="3"><span class="textAeraLeft">处置建议：</span>
		  		<span > <textarea id="daContent" name="daContent" rows="5"
					style="width:100%" >请在这里填写处置建议</textarea></span>	
		 		<span style="padding-left:100"><input id="dAdivce" type="button" value="添加"/></span>
		 	</td> 
		  </tr>
		  -->
		  
		  <tr id="operate" class="trtab" >
          	<td colspan="3" align="center">
          		<button class="submit" onclick='window.location.href="/ag/zhh/index.jsp"'>处置事件</button>
          		<span style="padding-left:20">
          		<button class="submit" onclick='window.location.href="/ag/lzm/start_plan.jsp"'>启动预案</button></span>
          	</td>
          </tr>
        </table></td>
        <td width="9" background="wzp/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="wzp/images/tab_20.gif" width="15" height="29" /></td>
        <td width="100%" background="wzp/images/tab_21.gif"></td>
        <td width="14"><img src="wzp/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
	</body>
</html>